<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>英雄页</title>
</head>
<body>
<a href="#">图书名称：{{ btitle }}</a>
<table border="2">
    <tr>
        <td>英雄姓名</td>
        <td>英雄性别</td>
        <td>英雄信息</td>
        <td>&nbsp;&nbsp;外键</td>
        <td>操作一</td>
        <td>操作二</td>
    </tr>

    {% for item in herolist %}
        <tr>
            <td>{{ item.hname }}</td>
            <td>{{ item.hgender }}</td>
            <td>{{ item.hcontent }}</td>
            <td>{{ item.hbook_id }}</td>
            <td><a href="#{{ item.id }}">编辑英雄</a></td>
            <td><a href="delete{{ item.id }}">删除英雄</a></td>
        </tr>
    {% endfor %}
</table>
<a href="#">增加英雄</a>
</body>
</html>